<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<title>Insert title here</title>
</head>
<body>
<div align="center">
<form action="http://www.baidu.com" >
<table border="1" cellspacing="0">
      <caption>注册表单</caption>
     <tr>
        <td>用户名:</td>
        <td>
        <input type="text" name="username">
        </td>
    <tr>
        <td>密码:</td>
        <td>
        <input type="text" name="password">
        </td>
    </tr><br>
    
    <tr>
       <td>确认密码:</td>
       <td>
       <input type="text" name="confirm password">
       </td>
      </tr><br>
      
    <tr>
        <td>昵称:</td>
        <td>
        <input type="text" name="nickname">
        </td>
      </tr><br>
      
      <tr>
        <td>性别:</td>  
        <td>     
       <input type="radio"name="gender">男 
       <input type="radio"name="gender">女  
       </td>
       </tr><br>
       
      <tr>
       <td>爱好:</td> 
       <td>
      <input type="checkbox" name="hobby" value="dlq">敲代码
      <input type="checkbox" name="hobby" value="dlq">打篮球
      <input type="checkbox" name="hobby" value="gdx">搞对象 
      </td>
      </tr><br>
      
      <tr>
      <td>生日:</td>
      <td>
      <input type="date" name="birthday"> 
      </td>
      </tr>
      
      <tr>
       <td>头像:</td>
       <td>
      <input type="file" name="portrait">  
      </td>
      </tr>
      
       <tr>
       <td>所在城市:</td>	
	  	  <td>
	  		<select name="city">
	  		    <option>请选择</option>
	  			<option value='tys' selected="selected">太原市</option>
	  			<option value="xd">小店</option>
	  			<option value="jy">晋源</option>
	  			<option value="wbl">万柏林</option>
	  			<option value="xhl">杏花岭</option>
	  			<option value="yzq">迎泽区</option> 
	  			 </select>
	  	  </td>	
	          </select>
	       </tr>
	       <tr>
	          <td>自我介绍:</td>
	          <td><textarea rows="5" cols="30" placeholder="说点东西吧...."></textarea> </td>      
           </tr>  
           
	        <tr>
	         <td>验证码:</td>
	         <td>
	          	<input type="text">
	          	<img src=../imgs/timg.gif width="100" height="20">
	         </td>
	       	</tr>
	       	<tr>
	       		<td align="center" colspan="2">
	     <input  type="submit">
	     <input  type="reset">
	     	</td>
	     	</tr>
	     	
	     </table>
      </form>

</div>
</body>
</html>